/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ComExWeb.service;


import ComExWeb.dominio.Categoria;
import ComExWeb.dominio.Endereco;
import ComExWeb.dominio.Item;
import ComExWeb.dominio.Pessoa;
import java.util.List;
import javax.ejb.Stateless;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 * @author 002824992500
 */
@Stateless
public class PessoaService  {

 /*   public  List<Endereco> getTodasEndereco() {
        return findAll(Endereco.class);
    }

    private static final Logger log = LoggerFactory.getLogger(PessoaService.class);

    public List<Endereco> findEnderecoByID(Long idEndereco) {
        
        return  executeQuery("select e from Endereco e where e.idEndereco = ?1", idEndereco);
    }

    public List<Pessoa> getTodosPessoas() {
        return findAll(Pessoa.class);
    }
*/
}
